@extends('Admin.layout.layout')
@section('title')
  <title>文章板块列表</title>
@endsection
@section('con')

<!-- 标题 -->
    <div class="row">
      <a href="{{url('/admin/artl/index')}}"><h4>回到列表页</h4></a>
     
    </div>
    @foreach($data as $k=>$v)
    <div class="row">
     <div class="col-sm-12" >
         <div class="row" >
            <div class="row">
                <div class="col-lg-4 col-lg-offset-4">
                    <h3><label>{{$v->title}}</label></h3>
                </div>
                <!-- /.col-lg-12 -->
            </div>
          </div>
     </div>
     <!-- 详细内容 -->
     <div class="col-sm-12" >
         <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                  &nbsp; <span>{{date('Y-m-d H:i:s',$v->time)}}</span> &nbsp;|&nbsp;&nbsp;
                  <span>发布者:{{$v->author}}</span> 
                  &nbsp;| &nbsp;
                  <span>原作者:{{$v->pauthor}}</span>
                  
                </div>
                <!-- /.col-lg-12 -->
            </div>
          </div>
      </div>

       <div class="col-sm-12" >
         <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                <h4><b> 文章展示图: </b></h4>                     
                </div>
            </div>
          </div>
      </div>
    
     <div class="col-sm-12" >
     <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                  <img src="{{$v->pic}}" width="300px;" height="200px">                  
                </div>
            </div>
          </div>
      </div>
      <div class="col-sm-12" >
         <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                <h4><b> 文章简介: </b></h4>              
                </div>
            </div>
          </div>
      </div>
      <div class="col-sm-12" >
         <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                  {{$v->cont}}                 
                </div>
            </div>
          </div>
      </div>

     <hr>
        <!-- 文章内容 -->
        <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                    <h4><b>&nbsp;&nbsp;&nbsp;文章内容:</b></h4>
                </div>
                <!-- /.col-lg-12 -->
            </div>
      </div>
      <div class="row" >
            <div class="row">
                <div class="col-lg-8 col-lg-offset-1">
                    <h5>{!! $v->content !!}</h5>
                </div>
                <!-- /.col-lg-12 -->
            </div>
      </div>
        <div class="row">
        <div class="col-md-10"></div>
          <div class="col-md-2 ">
            <a href="{{url('/admin/artl/edit',['id'=>$v->id])}}"><h4>修改文章内容</h4></a>
          </div>
        </div>
  </div>
  @endforeach
     
@endsection
